<template>
	<view class="content">
		<swiper class="swiper" indicator-dots="true" indicator-active-color='#ffffff'>
			<swiper-item>
				<image src="@/static/img/open_11.png" mode="aspectFill"></image>
			</swiper-item>
			<swiper-item>
				<image src="@/static/img/open_22.png" mode="aspectFill"></image>
			</swiper-item>
			<swiper-item>
				<image src="@/static/img/open_33.png" mode="aspectFill"></image>
				<view class="btn" @click="open">立即进入</view>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad(e) {

		},
		methods: {
			open() {
				// uni.setStorageSync('isFirstLaunch', false);
				// uni.navigateTo({
				// 	url: '/pages/inlet/login'
				// })
				// uni.navigateTo({
				// 	// url:'/pages/me/card'
				// 	url:'/pages/inlet/login'
				// })
				
				this.$emit('setFrist');
				console.log(121212);
			}
		},
		onPageScroll(e) {},
	}
</script>

<style scoped lang="scss">
	.content {
		.swiper {
			width: 100vw;
			height: 100vh;

			image {
				width: 100vw;
				height: 100vh;
			}

			.btn {
				width: 440rpx;
				height: 80rpx;
				line-height: 80rpx;
				text-align: center;
				background: #FFFFFF;
				border-radius: 40rpx;
				font-weight: 500;
				font-size: 32rpx;
				color: #3F93FF;
				position: fixed;
				left: 160rpx;
				bottom: 170rpx;
			}
		}

		// /deep/ .uni-swiper-dots-horizontal {
		// 	bottom: 60rpx;
		// }
		::v-deep .uni-swiper-dots-horizontal {
			bottom: 60rpx;
		}
	}
</style>